package com.toannv.helper;

import com.smartfoxserver.v2.entities.Room;
import com.smartfoxserver.v2.extensions.BaseClientRequestHandler;
import com.smartfoxserver.v2.extensions.SFSExtension;

public class Roomhelper {
	public static Room getCurrentRoom(BaseClientRequestHandler handler){
		return handler.getParentExtension().getParentRoom();
	}
	
	public static Room getCurrentRoom(SFSExtension handler){
		return handler.getParentRoom();
	}
}
